WOLF core
WOLF: A Modular Estimation Framework for Robotics
XXXXXXXXXXXXXXXXXXXXXXXXvoid(0)" frameborder="0" name="MSearchResults" id="MSearchResults">
wolf::BufferFrame Class Reference

Buffer of Frames. More...

#include <core/processor/buffer.h>

Inheritance diagram for wolf::BufferFrame:
[legend]

Public Member Functions

void emplace (FrameBasePtr _frm)
 
- Public Member Functions inherited from wolf::Buffer< FrameBasePtr >
 Buffer ()
 
 ~Buffer (void)
 
FrameBasePtr select (const TimeStamp &_time_stamp, const double &_time_tolerance) const
 Select an element from the buffer. More...
 
ConstIterator selectIterator (const TimeStamp &_time_stamp, const double &_time_tolerance) const
 Select an element iterator from the buffer. More...
 
Iterator selectIterator (const TimeStamp &_time_stamp, const double &_time_tolerance)
 
FrameBasePtr selectFirstBefore (const TimeStamp &_time_stamp, const double &_time_tolerance) const
 
FrameBasePtr selectLastAfter (const TimeStamp &_time_stamp, const double &_time_tolerance) const
 
FrameBasePtr selectFirst () const
 
FrameBasePtr selectLast () const
 
SizeStd size (void) const
 Buffer size. More...
 
void emplace (const TimeStamp &_time_stamp, const FrameBasePtr &_element)
 Add a element to the buffer. More...
 
const std::map< TimeStamp, FrameBasePtr > & getContainer () const
 returns the container with elements of the buffer More...
 
std::map< TimeStamp, FrameBasePtr > & getContainer ()
 
void removeUpTo (const TimeStamp &_time_stamp)
 Remove all elements in the buffer with a time stamp older than the specified. More...
 
void removeUpToLower (const TimeStamp &_time_stamp)
 Remove all elements in the buffer with a time stamp older than the specified. More...
 
void clear ()
 Clear the buffer. More...
 
bool empty () const
 is the buffer empty ? More...
 

Additional Inherited Members

- Public Types inherited from wolf::Buffer< FrameBasePtr >
typedef std::map< TimeStamp, FrameBasePtr >::iterator Iterator
 
typedef std::map< TimeStamp, FrameBasePtr >::const_iterator ConstIterator
 
- Static Public Member Functions inherited from wolf::Buffer< FrameBasePtr >
static bool checkTimeTolerance (const TimeStamp &_time_stamp1, const TimeStamp &_time_stamp2, const double &_time_tolerance)
 Check time tolerance. More...
 
static bool doubleCheckTimeTolerance (const TimeStamp &_time_stamp1, const double &_time_tolerance1, const TimeStamp &_time_stamp2, const double &_time_tolerance2)
 Check time tolerance. More...
 
- Protected Attributes inherited from wolf::Buffer< FrameBasePtr >
std::map< TimeStamp, FrameBasePtr > container_
 

Detailed Description

Buffer of Frames.

Member Function Documentation

◆ emplace()

void wolf::BufferFrame::emplace ( FrameBasePtr  _frm)

The documentation for this class was generated from the following files: